package com.ruoyi.bbsAdmin.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名活动对象 sign_up_activity
 * 
 * @author ruoyi
 * @date 2023-07-30
 */
public class SignUpActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    private String id;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 内容简介 */
    @Excel(name = "内容简介")
    private String content;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Integer kind;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Integer state;

    /** 活动展示学校 */
    @Excel(name = "活动展示学校")
    private Integer schoolId;

    /** 拥有者id */
    @Excel(name = "拥有者id")
    private String ownerId;

    /** 是否仅校友参与 */
    @Excel(name = "是否仅校友参与")
    private Integer alumniOnly;

    /** 报名定金 */
    @Excel(name = "报名定金")
    private BigDecimal deposit;

    /** 报名名额 */
    @Excel(name = "报名名额")
    private Integer quota;

    /** 外部链接 */
    @Excel(name = "外部链接")
    private String link;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String param1;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setKind(Integer kind) 
    {
        this.kind = kind;
    }

    public Integer getKind() 
    {
        return kind;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId() 
    {
        return schoolId;
    }
    public void setOwnerId(String ownerId) 
    {
        this.ownerId = ownerId;
    }

    public String getOwnerId() 
    {
        return ownerId;
    }
    public void setAlumniOnly(Integer alumniOnly) 
    {
        this.alumniOnly = alumniOnly;
    }

    public Integer getAlumniOnly() 
    {
        return alumniOnly;
    }
    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit() 
    {
        return deposit;
    }
    public void setQuota(Integer quota) 
    {
        this.quota = quota;
    }

    public Integer getQuota() 
    {
        return quota;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("content", getContent())
            .append("kind", getKind())
            .append("state", getState())
            .append("schoolId", getSchoolId())
            .append("ownerId", getOwnerId())
            .append("alumniOnly", getAlumniOnly())
            .append("deposit", getDeposit())
            .append("quota", getQuota())
            .append("link", getLink())
            .append("deadline", getDeadline())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("param1", getParam1())
            .toString();
    }
}
